﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DKT.WeiXinAPI.Factory;
using System.Xml.Serialization;


namespace DKT.WeiXinAPI.Message
{
    /// <summary>
    /// 文本消息
    /// </summary>
    [DKT.WeiXinAPI.Event(MsgType = WeiXinAPI.MsgType.Text)]
    public class Text : Factory.AbstractMessage
    {

        [Serializable]
        [XmlRoot("xml")]
        public class Response:Factory.AbstractMessage.MessageBody
        {
            public Response():base()
            {
                this.MsgType = "text";
            }
            public string Content { get; set; }
        }


        public override Factory.AbstractMessage.MessageBody Reply()
        {
            throw new NotImplementedException();
        }
    }
}
